<?php

	//获取直拨线路接口--get_sip_lines.php
	//从线路表读取name字段；
	//成功则返回0|name|name|name|
	//http://42.121.57.193:7788/platform/get_sip_lines.php

	include_once "init.php";

	if (empty($sipline_config))
	{
		die('-1|直拨线路表为空');
	}

	foreach ($sipline_config as $value)
	{
		$content = $content.$value['name'].'|';
	}

	echo '0|'.substr($content,0,strlen($content)-1);
?>